<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-heading">
        <div class="panel-lead">
            <em style="color: red;">底部信息配置。</em>
        </div>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <form id="update-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
                        <hr />
                        <p class="hr_title">底部信息配置</p>
                        <input type="hidden" name="id" value="{$row.id}">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('版权说明')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="copyright" name="row[copyright]" value="{$row.copyright}" data-rule="required" />
                                <p class="help-block">底部版权信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('小程序二维码')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="input-group">
                                    <input id="c-image" class="form-control" size="35" name="row[qr_code]" type="text" value="{$row.qr_code}">
                                    <div class="input-group-addon no-border no-padding">
                                        <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    </div>
                                    <span class="msg-box n-right"></span>
                                </div>
                                <ul class="row list-inline faupload-preview" id="p-image"></ul>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('地址')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="address" name="row[address]" value="{$row.address}" data-rule="required" />
                                <p class="help-block">底部地址信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('QQ')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="qq" name="row[qq]" value="{$row.qq}" data-rule="required" />
                                <p class="help-block">底部QQ信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('邮箱')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="email" name="row[email]" value="{$row.email}" data-rule="required" />
                                <p class="help-block">底部邮箱信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('电话')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="tel" name="row[tel]" value="{$row.tel}" data-rule="required" />
                                <p class="help-block">底部电话信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('微信')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="wechat" name="row[wechat]" value="{$row.wechat}" data-rule="required" />
                                <p class="help-block">底部微信信息配置</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">{:__('邮编')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" class="form-control" id="zip_code" name="row[zip_code]" value="{$row.zip_code}" data-rule="required" />
                                <p class="help-block">底部邮编信息配置</p>
                            </div>
                        </div>
                        <hr />
                        <div class="form-group" style="display: none">
                            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
                            <div class="col-xs-12 col-sm-8">
                                {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')],$row['status'])}
                            </div>
                        </div>
                        <div class="form-group layer-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                                <button type="reset" class="btn btn-default btn-embossed" style="display: none">{:__('Reset')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
<style>
    .hr_title{
        text-align: center;
        font-weight: 800;
    }

</style>